<?php
$id = empty($_GET['id']) ? 0 : intval($_GET['id']);
if($id > 0){
	$oFittings = new Fittings();
	$fittings = $oFittings->get_row($id, '*');
}else{
	$fittings = array(
		'rank'		=> 1000000,
	);
}
$vars['info'] = $fittings;
?>